-- BP 7.1.6 content: ModelClass syschar: 3 persistence-version: 7.1.6

INSERT INTO O_OBJ
	VALUES ("ca2332c2-9088-4857-9711-75146cfb67cb",
	'Attribute',
	103,
	'ATR',
	'An attribute is used to characterize aspects of the objects within a domain.',
	"00000000-0000-0000-0000-000000000000");
INSERT INTO O_TFR
	VALUES ("b3036132-70a8-462e-87d0-de5d8d4a420a",
	"ca2332c2-9088-4857-9711-75146cfb67cb",
	'belongsTo',
	'Determines if the attribute is related to the specfied object.',
	"ba5eda7a-def5-0000-0000-000000000001",
	1,
	'belongsTo = true;
select one oa related by self->OA[R124] where selected.object_name == param.object;
if (empty oa)
  select one spa related by self->SPA[R124] where selected.subtype_name == param.object;
  if (empty spa)
    belongsTo = false;
  end if;
end if;
return belongsTo;
',
	1,
	'',
	"00000000-0000-0000-0000-000000000000",
	0);
INSERT INTO O_TPARM
	VALUES ("5dddabb0-b5ec-41b8-bff1-6ca921604f1d",
	"b3036132-70a8-462e-87d0-de5d8d4a420a",
	'object',
	"ba5eda7a-def5-0000-0000-000000000004",
	0,
	'',
	"00000000-0000-0000-0000-000000000000",
	'The object to check relatioship against.');
INSERT INTO O_NBATTR
	VALUES ("cb824e18-2af6-4858-b465-6b3b61be3085",
	"ca2332c2-9088-4857-9711-75146cfb67cb");
INSERT INTO O_BATTR
	VALUES ("cb824e18-2af6-4858-b465-6b3b61be3085",
	"ca2332c2-9088-4857-9711-75146cfb67cb");
INSERT INTO O_ATTR
	VALUES ("cb824e18-2af6-4858-b465-6b3b61be3085",
	"ca2332c2-9088-4857-9711-75146cfb67cb",
	"00000000-0000-0000-0000-000000000000",
	'name',
	'A descriptive string concerning the characterization.',
	'',
	'name',
	0,
	"ba5eda7a-def5-0000-0000-000000000004",
	'',
	'');
INSERT INTO O_ID
	VALUES (0,
	"ca2332c2-9088-4857-9711-75146cfb67cb");
INSERT INTO O_OIDA
	VALUES ("cb824e18-2af6-4858-b465-6b3b61be3085",
	"ca2332c2-9088-4857-9711-75146cfb67cb",
	0,
	'name');
INSERT INTO O_ID
	VALUES (1,
	"ca2332c2-9088-4857-9711-75146cfb67cb");
INSERT INTO O_ID
	VALUES (2,
	"ca2332c2-9088-4857-9711-75146cfb67cb");
INSERT INTO PE_PE
	VALUES ("ca2332c2-9088-4857-9711-75146cfb67cb",
	1,
	"f9697c43-84ee-4136-9c00-93842878f3b4",
	"00000000-0000-0000-0000-000000000000",
	4);
INSERT INTO EP_PKG_PROXY
	VALUES ("f9697c43-84ee-4136-9c00-93842878f3b4",
	"00000000-0000-0000-0000-000000000000",
	"c8b88000-dddc-4206-8410-2f69b8f86b67",
	'Object',
	'The subsystem of the metamodel concerning objects, instances, and attributes.',
	100,
	'../Object.xtuml');
